package cn.kgc.userweb.service;

import cn.kgc.blogcommon.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("user-service")
public interface UserService {
    @PostMapping("register")
    public boolean register(@RequestBody User user);
//    public Integer login(String userName, String password);
}
